package com.tkjt.pms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

/**
 * @author onlineGenerator
 * @version V1.0
 * @Title: Entity
 * @Description: tk_index_calculator
 * @date 2019-12-06 09:34:11
 */

@Data
@TableName("tk_index_value_adjust")
public class TkIndexValueAdjust implements java.io.Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 年份
     */
    private String year;
    /**
     * 被评分人
     */
    private String indexScorer;

    /**
     * 被评分部门
     */
    private String indexDepart;
    /**
     * 指标编码(唯一标识)
     */
    private String indexValueCode;
    /**
     * 变更值标识:mTotal,m01,m02,...,m12,q01,q02,q03,q04
     */
    private String which;
    /**
     * 变更值
     */
    private Double value;
    /**
     * createBy
     */
    private String createBy;
    /**
     * createDate
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * updateBy
     */
    private String updateBy;
    /**
     * updateDate
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    private String dataType;
}
